# -*- coding: utf-8 -*-
"""
__title__ = ''
__author__ = 'Yang'
__mtime__ = '2018/10/23'
# code is far away from bugs with the god animal protecting
    I love animals. They taste delicious.
              ┏┓      ┏┓
            ┏┛┻━━━┛┻┓
            ┃      ☃      ┃
            ┃  ┳┛  ┗┳  ┃
            ┃      ┻      ┃
            ┗━┓      ┏━┛
                ┃      ┗━━━┓
                ┃  神兽保佑    ┣┓
                ┃　永无BUG！   ┏┛
                ┗┓┓┏━┳┓┏┛
                  ┃┫┫  ┃┫┫
                  ┗┻┛  ┗┻┛
"""
import re

data = '13600001111'
data1 = '15800001111'

# print(re.findall('^[136 158 139 182].*', data))
# print(re.findall('^[136 158 139 182].*', data1))

data = '13600001111,15800001111,11200001111'

print(re.findall('1[3 5 8].[0]\d{7}', data))

data = 'abc 123 ABC - + *'
reg = '\s'
reg1 = '\S+'
print(re.findall(reg, data))
print(re.findall(reg1, data))

print()
print(re.findall('\w+', data))  # \w表示匹配任何字母数字
print(re.findall('\W', data))  # \W 匹配任何非字母数字字符

import urllib0
